import { PartialType } from '@nestjs/mapped-types';
import { CreateAuthorityDto } from './create-authority.dto';
import { ApiProperty } from '@nestjs/swagger';

export class UpdateAuthorityDto extends PartialType(CreateAuthorityDto) {
    @ApiProperty({
        description: '路径',
    })
    path?: string;

    @ApiProperty({
        description: '图标',
    })
    icon?: string;

    @ApiProperty({
        description: '名称',
    })
    name?: string;

    @ApiProperty({
        description: '组件',
    })
    component?: string;
}
